package com.repair.order.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author chunyu
 * @since 2024/10/2,15:00
 */
@Data
public class OrderCreateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单编号")
    private String orderNum;

    @ApiModelProperty("服务类型id")
    private Long serviceCategoryId;

    @ApiModelProperty("用户电话")
    private String userTelephone;

    @ApiModelProperty("上门地址")
    private String orderAddress;

    @ApiModelProperty("预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime reserveTime;

    @ApiModelProperty("备注")
    private String notes;
}
